$(function(){
	$.ajax({
		type: "post",
		url: "http://www.pdhz-dddc.cn/dingding-web/driverRecruitAction!getDriverRecruitCity",
		dataType: "jsonp",
		async: false,
		jsonp: "callback",
		jsonpCallback: "success_jsonp",
		data: {
		},
		success:function(data){
			console.log(data);
			var tpl = document.getElementById("tpl").innerHTML;
  			var html =juicer(tpl,data);
  			$("body").html(html);
		}
	});	
});

//选择完城市后跳转添加数据 申请
function getcityid(cityId,cityName){
		sessionStorage.setItem("cityName", cityName);
		window.location.href="driver_oneself.html?cityName="+encodeURI(cityName)+"&cityId="+cityId;

}

